﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoTheVoid.State
{

	// 按钮状态数据
	public class ButtonStateChangeEventArgs : EventArgs
	{
		// 主按钮内容
		public string MainButtonContent { get; }
		// 主按钮内容
		public string MainButtonBackground { get; }
		// 主按钮是否可以操作
		public bool MainButtonEnabled { get; }
		// 是否显示进度条
		public bool ShowPercent { get; }
		// 是否显示设置按钮
		public bool ShowSettingButton { get; }

		public ButtonStateChangeEventArgs(string mainButtonContent, bool mainButtonEnabled, bool showPercent, bool showSettingButton, string mainButtonBackground = "")
		{
			MainButtonContent = mainButtonContent;
			MainButtonEnabled = mainButtonEnabled;
			ShowPercent = showPercent;
			ShowSettingButton = showSettingButton;
			MainButtonBackground = mainButtonBackground;
		}

	}
}
